---
title: "Squadcast Provider"
sidebarTitle: "Squadcast Provider"
description: "Squadcast provider is a provider used for creating issues in Squadcast"
---

## Inputs

The `notify` function take following parameters as inputs:

- `notify_type` (required): Takes either of `incident` or `notes` depending on weather you want to create an incident or a note.
1. ##### parameters for `incident`
   - `message` (required): This will be the incident message.
   - `description` (required): This will be the incident description.
   - `tags` (optional): Tags for the incident. It should be a dict format.
   - `priority` (optional): Priority of the incident.
   - `status` (optional): Status of the event.
   - `event_id` (optional): event_id is used to resolve an incident
   - `additional_json` (optional): Additional JSON data to be sent with the incident.
2. ##### parameters for `notes`
   - `message` (required): The message of the note.
   - `incident_id` (required): Id of the incident where the Note has to be created.
   - `attachments` (optional): List of attachments for the notes.

See [documentation](https://support.squadcast.com/integrations/incident-webhook-incident-webhook-api) for more

## Authentication Parameters
The Squadcast provider requires at least one of the following authentication parameter:

- `refresh_token` (optional): Your Squadcast refresh_token.
- `webhook_url` (optional): URL of your `incidents_webhook`.

See [Squadcast Refresh Tokens](https://support.squadcast.com/terraform-and-api-documentation/public-api-refresh-token#from-your-profile-page) for more.

## Connecting with the Provider

1. Go to [Refresh Tokens](https://support.squadcast.com/terraform-and-api-documentation/public-api-refresh-token#from-your-profile-page) to see how to create a `refresh_token`.
2. Visit [Documentations](https://support.squadcast.com/integrations/incident-webhook-incident-webhook-api) to learn how to setup `incident_webhooks` & get the `webhook_url`


## Useful Links

- [Squadcast Incident API](https://support.squadcast.com/integrations/incident-webhook-incident-webhook-api)
- [Squadcast Refresh Tokens](https://support.squadcast.com/terraform-and-api-documentation/public-api-refresh-token#from-your-profile-page)
- [Incident Notes](https://support.squadcast.com/incidents-page/incident-notes)
